<div class="login_div">
  <H1><%= I18n.t :logo_message %><br/></H1>
  <%= I18n.t :registration %><br/>

  <div class="login_div">
    <%= form_for @user, :url => {:action => "register"}, :html => {:class => "login_form"} do |f| %>
        <div class="registration_errors">
          <%= f.error_messages %>
        </div>
        <table align="center">
          <TR>
            <TD class="form_caption"><%= f.label :user_name, (I18n.t :user_name) %></TD>
            <TD><%= f.text_field :user_name %></TD>
          </TR>
          <TR>
            <TD class="form_caption"><%= f.label :password, (I18n.t :password) %></TD>
            <TD><%= f.password_field :password %></TD>
          </TR>
          <TR>
            <TD class="form_caption"><%= f.label :password_confirmation, (I18n.t :password_confirm) %></TD>
            <TD><%= f.password_field :password_confirmation %></TD>
          </TR>
        </table>
        <%= submit_tag (I18n.t :register_button) %>
    <% end %>
  </div>
</div>

<div class="thank_for_registration">
  <% if flash[:notice] %>
      <%= h flash[:notice] %>
  <% end %>
</div>